package com.etc.service;

import com.etc.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    List<User> select_UserLogin(@Param("phone") String phone, @Param("password") String password);

    List<User> selectUserByPrimaryKey(@Param("id") int id);

    List<User> select_All();

    boolean insert_User(User record);

    boolean update_UserByPrimaryKeySelective(User record);

    boolean update_UserPassword(@Param("id")int id,@Param("password") String password);
}
